import request from "../utils/request"
import utils from "../utils/util.js"
export default {

	getPetBaomuList(query) {
		const queryParmas = utils.addParamsToURL(query);
		return request.get(`/pet/nurse/list1?${queryParmas}`);
	},

	addPetBaomu(data) {
		return request.post('/pet/nurse/addNurse', data);
	},

	getPetBaomuById(id) {
		return request.get(`/pet/nurse/${id}`)
	},
	delPetBaomuById(id) {
		return request.request(`/pet/nurse/${id}`, 'DELETE')
	},
}